package com.ruoyi.flowable.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ProcInstVo {

    private String startUserId;

    private String processDefinitionName;

    /** 流程定义编号 */
    private String processDefinitionId;

    /** 部署编号 */
    private String deploymentId;

    /** 流程编号 */
    private String processInstanceId;

    private Integer processDefinitionVersion;

    /** 流程发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /** 流程完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 持续时长*/
    private String duration;

    /** 流程状态 */
    private String  businessStatus;

    /** 事项ID */
    private String  businessKey;
}
